package me.zingon.doc.interceptor;

import org.springframework.web.servlet.HandlerInterceptor;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by zhidi on 2018-3-29.
 */
@WebServlet
public class TokenIntercetor implements HandlerInterceptor {
    /**
     * 登陆拦截器
     * @param httpServletRequest
     * @param httpServletResponse
     * @param o
     * @return
     * @throws Exception
     */
    @Override
    public boolean preHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o) throws Exception {
        return true;
    }
}
